package com.wteam.PoJo.VO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.elasticsearch.action.ValidateActions;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单详情")
public class orderDetialVO {

    @ApiModelProperty(value = "订单id")
    private Long orderid;


    @ApiModelProperty(value = "订单状态，1、未付款 2、已付款,未发货 3、已发货,未确认 4、确认收货，交易成功 5、交易取消，订单关闭 6、交易结束，已评价")
    private Integer status;

    @ApiModelProperty(value = "原总价格")
    private BigDecimal amount;

    @ApiModelProperty(value = "邮费")
    private BigDecimal postage;
    @ApiModelProperty(value = "优惠后的总价格")

    private BigDecimal actualPrice;
    @ApiModelProperty(value = "订单里的商品")
    private List<orderGoodsVO> orderGoodsVOS;


}
